package com.sh.rbac.core.encrypt.enums;

import com.sh.rbac.core.encrypt.encryptor.*;
import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * 加密算法枚举
 *
 * @author wb
 * @since 2025-10-23
 */

@Getter
@AllArgsConstructor
public enum AlgorithmType {

    DEFAULT(null),
    BASE64(Base64Encryptor.class),
    AES(AesEncryptor.class),
    RSA(RsaEncryptor.class),
    SM2(Sm2Encryptor.class),
    SM4(Sm4Encryptor.class);


    private final Class<? extends IEncryptor> clazz;
}
